function ret=init_matrixpoint(mat,view)
 x.view=view;
 x.mat=mat;
 x.coordinates=getMainVector(mat);
 ret=x;
endfunction
